import CurrencySetting from "containers/setting/currency-setting/currency-setting"
import CurrencySettingAdd from "containers/setting/currency-setting/currency-setting-add";
import CurrencySettingEdit from "containers/setting/currency-setting/currency-setting-edit"

//币种设置
const CurrencySettingMenu =
  {
    key: 'currency-setting',
    url: '/main/setting/currency-setting/:setOfBooksId',
    components: CurrencySetting,
    parent: 'setting',
    tenant: true,
    // ng-hide="functionProfile['settings.currency.disabled']"请保留，之后参考
    children: {
      //新增汇率
      addExchangeRate: {
        key: 'currency-setting-add',
        url: '/main/setting/currency-setting/:setOfBooksId/currency-setting-add/:currencyCode',
        components: CurrencySettingAdd,
        parent: 'currency-setting',
      },
      //编辑汇率
      editExchangeRate: {
        key: 'currency-setting-edit',
        url: '/main/setting/currency-setting/:setOfBooksId/currency-setting-edit/:currencyCode',
        components: CurrencySettingEdit,
        parent: 'currency-setting',
      },
    },
  };
export default CurrencySettingMenu;
